<template>
 <div ref="div">111111111</div>
</template>

<script setup>
import { ref,onMounted } from "vue";
const div=ref()
onMounted(()=>{
  console.log(div.value)  
})

</script>
